package hn.cch.springboot_datasource.mapper.oracle;

import hn.cch.springboot_datasource.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserOracleMapper {

    public List<User> selectAllUserList();

    public int insertUser(User user);

    public int batchInsertUser(List<User> userList);

    // mybatis oracle 调用存储过程，使用游标返回结果，参数必须使用java.util.Map
    public void callUser(Map<String, Object> map);

}
